/*
 * @Author: your name
 * @Date: 2022-03-02 14:17:57
 * @LastEditTime: 2022-03-02 14:25:15
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \JS\day04\4-删除对象属性.js
 */
var  obj={
    weight :56,
    height:190,
    sayName:function(){
        console.log('这是我的方法')
    },
    clazz:{
        class:2022,
        name:'太原理工大学'
    }
}
delete obj.weight;
delete obj.sayName;
console.log(obj.clazz.name);